Automattic\WooCommerce\Pinterest\FeedGenerator A

Total Complexity 59
Dependencies 11
Dependents 1
Total lines 755
Lines of code 344
Logical lines of code 136
Comment lines 293
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
handle_unexpected_shutdown()
S
45 5 47
deregister()
S
62 6 11
process_items()
S
53 4 23
handle_end()
S
54 3 22
get_feed_products()
S
56 2 18
handle_start()
S
58 2 16
set_store_address_as_taxable_location()
S
65 3 9
init()
S
58 2 15
get_items_for_batch()
S
54 1 25
handle_error()
S
56 1 21
prepare_feed_buffers()
S
73 2 5
mark_feed_dirty()
S
67 2 8
is_failure_rate_above_threshold()
S
58 1 15
get_last_batch_id()
S
70 2 6
start_generation()
S
67 2 8
is_timeout_error()
S
70 2 5
handle_failed_execution()
S
66 2 8
get_excluded_products_by_parent()
S
63 1 12
get_excluded_product_types()
S
65 1 11
get_included_product_types()
S
68 1 9
process_item()
S
91 1 2
maybe_handle_error_on_timeout()
S
80 1 3
set_last_batch_id()
S
80 1 3
__construct()
S
73 1 5
get_batch_size()
S
71 1 6
get_locations()
S
80 1 3
feed_is_dirty()
S
80 1 3
get_plugin_name()
S
82 1 3
get_name()
S
82 1 3
handle_batch_action()
S
73 1 5
cancel_jobs()
S
79 1 3
schedule_next_generator_start()
S
71 1 5
get_group_name()
S
82 1 3
mark_feed_clean()
S
80 1 3